﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using SGRapidForm.Common;

namespace SGDemo.OA.Entity
{
    /// <summary>
    /// File: PADContactENT.cs 数据实体基类
    /// </summary>
    /// <remarks>
    /// <para>Author: "Ralph"</para>
    /// <para>Date: "2012-11-10"</para>
    /// <para>Version: "V1.0"</para>
    /// <para>Copyright: "神冠软件"</para>
    /// </remarks>
    [DataContract]
    public class PADContactENT
    {
        #region Fields
        private string _keyid;
        private string _categoryKeyid;
        private string _contactName;
        private bool _sex;
        private string _email;
        private string _officePhone;
        private string _mobilePhone;
        private string _homePhone;
        private string _remark;
        #endregion

        #region Contructors
        public PADContactENT()
        {
        }

        public PADContactENT
        (
            string keyid,
            string categoryKeyid,
            string contactName,
            bool sex,
            string email,
            string officePhone,
            string mobilePhone,
            string homePhone,
            string remark
        )
        {
            _keyid = keyid;
            _categoryKeyid = categoryKeyid;
            _contactName = contactName;
            _sex = sex;
            _email = email;
            _officePhone = officePhone;
            _mobilePhone = mobilePhone;
            _homePhone = homePhone;
            _remark = remark;

        }
        #endregion

        #region Public Properties

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Keyid
        {
            get { return _keyid; }
            set { _keyid = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string CategoryKeyid
        {
            get { return _categoryKeyid; }
            set { _categoryKeyid = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string ContactName
        {
            get { return _contactName; }
            set { _contactName = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string OfficePhone
        {
            get { return _officePhone; }
            set { _officePhone = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string MobilePhone
        {
            get { return _mobilePhone; }
            set { _mobilePhone = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string HomePhone
        {
            get { return _homePhone; }
            set { _homePhone = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        #endregion
    }
}
